package com.leaves.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leaves.common.publicmethod.entity.PageEntity;
import com.leaves.entity.UserInfo;
import com.leaves.entity.dto.AddUserInfoDto;
import com.leaves.entity.dto.DisableUser;
import com.leaves.entity.dto.LoginUser;
import com.leaves.response.ApiResult;

import javax.servlet.http.HttpServletResponse;


/**
 * @Author: LEAVES
 * @Version 1.0
 * @Date: 2021年09月21日 13时14分00秒
 * @Description:
 */
public interface UserInfoService extends IService<UserInfo> {

    void createVerifyCode(HttpServletResponse response);

    ApiResult loginCheck(LoginUser loginUser, HttpServletResponse response);

    ApiResult getCurrentAccountInformation();

    ApiResult pageQueryUserInfoList(PageEntity pageEntity);

    ApiResult disableUserInfo(DisableUser disableUser);

    ApiResult untieDisableUserInfo(String userId);

    ApiResult AddUserInfoDto(AddUserInfoDto addUserInfoDto);
}
